home *** CD-ROM | disk | FTP | other *** search
/ Personal Computer World 2009 February / PCWFEB09.iso / Software / Linux / Kubuntu 8.10 / kubuntu-8.10-desktop-i386.iso / casper / filesystem.squashfs / etc / dbus-1 / system.d / hal.conf < prev    next >
Text File  |  2008-10-26  |  2KB  |  52 lines

  1. <!DOCTYPE busconfig PUBLIC
  2.  "-//freedesktop//DTD D-BUS Bus Configuration 1.0//EN"
  3.  "http://www.freedesktop.org/standards/dbus/1.0/busconfig.dtd">
  4. <busconfig>
  5.  
  6.   <!-- This configuration file specifies the required security policies
  7.        for the HAL to work. -->
  8.  
  9.   <!-- Only root or user haldaemon can own the HAL service -->
  10.   <policy user="haldaemon">
  11.     <allow own="org.freedesktop.Hal"/>
  12.   </policy>
  13.   <policy user="root">
  14.     <allow own="org.freedesktop.Hal"/>
  15.   </policy>
  16.  
  17.   <!-- Allow anyone to invoke methods on the Manager and Device interfaces -->
  18.   <policy context="default">
  19.     <allow send_interface="org.freedesktop.Hal.Manager"/>
  20.     <allow send_interface="org.freedesktop.Hal.Device"/>
  21.     <allow receive_interface="org.freedesktop.Hal.Manager"
  22.            receive_sender="org.freedesktop.Hal"/>
  23.     <allow receive_interface="org.freedesktop.Hal.Device"
  24.            receive_sender="org.freedesktop.Hal"/>
  25.  
  26.     <allow send_interface="org.freedesktop.Hal.Device.SystemPowerManagement"/>
  27.     <allow send_interface="org.freedesktop.Hal.Device.LaptopPanel"/>
  28.     <allow send_interface="org.freedesktop.Hal.Device.Volume"/>
  29.     <allow send_interface="org.freedesktop.Hal.Device.Volume.Crypto"/>
  30.     <allow receive_interface="org.freedesktop.Hal.Device.SystemPowerManagement"
  31.        receive_sender="org.freedesktop.Hal"/>
  32.     <allow receive_interface="org.freedesktop.Hal.Device.LaptopPanel"
  33.        receive_sender="org.freedesktop.Hal"/>
  34.     <allow receive_interface="org.freedesktop.Hal.Device.Volume"
  35.        receive_sender="org.freedesktop.Hal"/>
  36.     <allow receive_interface="org.freedesktop.Hal.Device.Volume.Crypto"
  37.        receive_sender="org.freedesktop.Hal"/>
  38.   </policy>
  39.  
  40.   <!-- Default policy for the exported interfaces; if PolicyKit is not used
  41.        for access control you will need to modify this -->
  42.   <policy context="default">
  43.     <allow send_interface="org.freedesktop.Hal.Device.SystemPowerManagement"/>
  44.     <allow send_interface="org.freedesktop.Hal.Device.VideoAdapterPM"/>
  45.     <allow send_interface="org.freedesktop.Hal.Device.LaptopPanel"/>
  46.     <allow send_interface="org.freedesktop.Hal.Device.Volume"/>
  47.     <allow send_interface="org.freedesktop.Hal.Device.Volume.Crypto"/>
  48.   </policy>
  49.  
  50. </busconfig>
  51.  
  52.